package com.happy016.service.user;


import com.happy016.entity.user.User;
import com.happy016.persist.user.IUserDao;
import com.happy016.service.base.impl.BaseServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 *
 * @author Linyb
 * create on 2017/8/4 10:28
 */
@Service
public class UserServiceImpl extends BaseServiceImpl<User,Integer> implements IUserService {
    @Autowired
    private IUserDao userDao;
    @Override
    public List<User> findSelf2(User user) {
        return userDao.findSelf2(user);
    }

    @Override
    public List<User> findSelf1(int status) {
        return userDao.findSelf1(status);
    }
}
